﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using nvn.Core.MVP;
using Hutech.CRM.Library.Presenters;
using Hutech.CRM.Library.Models.Entities;
using nvn.Library.Patterns;

namespace Hutech.CRM.Library.Views
{
    public static class CreateObjectSearchCustomerView
    {
        public static void InitView(this ISearchCustomerView view)
        {
            SearchCustomerPresenter presenter = new SearchCustomerPresenter(view);
        }
    }

    public interface ISearchCustomerView : IBaseView
    {
        #region properties
        string TextSearch { set; get; }
        List<TowTypeParameters<Guid, string>> Levels { set; }
        List<TowTypeParameters<Guid, string>> Jobs { set; }
        List<TowTypeParameters<Guid, string>> Provinces { set; }
        List<TowTypeParameters<Guid, string>> Positions { set; }

        //event EventHandler<OneParameterEventAgrs<string>> Search_Click;
        //event EventHandler<OneParameterEventAgrs<Guid>> SelectedIndexChanged_EventArgs;

        //List<AccountCustomer> AccountCustomers {  set; }
        //Guid DataTranfer { get; set; }

        //int EditItemIndex { set; }

        //event EventHandler<ItemCommandArgs<AccountCustomer>> AccountCustomer_ItemCommand;
        //event EventHandler<ItemDataBoundArgs> AccountCustomer_ItemDataBound;
        #endregion
        //void RedirectTo(string value);
    }

}
